﻿using System;
using System.Data.SQLite;
using System.Data;
using System.Collections.Generic;

namespace SQLite测试
{
    class Program
    {
        private static string dbPath = @"E:\Programs\SQLite3\DBFile\test.db";
        
        static void Main(string[] args)
        {
           SQLiteHelper.NewDbFile(dbPath);
            
            string tableName = "Stars";
            SQLiteHelper sh = new SQLiteHelper(dbPath);
           sh.NewTable(dbPath, tableName);

            //List<object[]> starsDatas = new List<object[]>();
            //starsDatas.Add(new object[] { "Garnett", "Timberwolves", "21" });
            //starsDatas.Add(new object[] { "Jordan", "Bulls", "23" });
            //starsDatas.Add(new object[] { "Kobe", "Lakers", "24" });
            //starsDatas.Add(new object[] { "James", "Cavaliers", "23" });
            //starsDatas.Add(new object[] { "Tracy", "Rockets", "1" });
            //starsDatas.Add(new object[] { "Carter", "Nets", "15" });
            //AddStars(starsDatas);
        }
        
    }
}
